package com.zd.common.bean.model;

import java.util.Date;

import com.zd.common.common.annotation.Column;

/**
 * 购票订单详情实体类
 * 
 * @author lishi
 * @date 2018年11月7日 下午4:40:24
 */
public class TicketOrderDetail extends BaseModel {
	private Integer id;
	
	private Integer orderId = 0; //t_ticket_order.id'
	private Integer channel = 0; //购票渠道
	private Integer userId = 0; //t_user_info.id（冗余字段）
	private Integer ticketId; //票类型ID（t_ticket_info.id，冗余字段）
	private Integer scenicSpotId; //景区ID（冗余字段）
	private String userName; //购票人姓名
	private String userPhone; //购票人手机号码
	private int userIdType = 1; //证件类型（1-身份证）
	private String userIdNumber; //购票人证件号码
	private int verifyTimes = 0; //已经校验的次数
	private String checkCode; //取票码（16位纯数字字符串）

	private int printStatus = 0; //是否已打印实体票（0-未打印  1-已打印）
	private int status = 0; //状态（-1-已退票 0-待支付 1-已支付 2-已使用）

	private Date entryTime; //进场时间
	private Date validTime; // 过期时间
	
	private Date printTime; //取票时间
	private Date lastVerifyTime; //最后一次取票时间
	private Date refundTime; //退票时间
	private Date createTime;
	private Date updateTime;
	
	private Integer refundMoney;//退款金额（单位：分）
	private Integer refundOperator;//退票操作人
	
	private Integer isChild = 0;// 是否为儿童票
	 
	private String userIdBid; //身份证物理卡号
	
	@Column
	public String getUserIdBid() {
		return userIdBid;
	}

	public void setUserIdBid(String userIdBid) {
		this.userIdBid = userIdBid;
	}

	@Column
	public Integer getRefundMoney() {
		return refundMoney;
	}

	public void setRefundMoney(Integer refundMoney) {
		this.refundMoney = refundMoney;
	}
	
	@Column
	public Integer getRefundOperator() {
		return refundOperator;
	}

	public void setRefundOperator(Integer refundOperator) {
		this.refundOperator = refundOperator;
	}

	@Column
	public Integer getChannel() {
		return channel;
	}

	public void setChannel(Integer channel) {
		this.channel = channel;
	}

	@Column
	public Date getEntryTime() {
		return entryTime;
	}

	public void setEntryTime(Date entryTime) {
		this.entryTime = entryTime;
	}

	@Column
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	
	@Column
	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	@Column
	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	@Column
	public Integer getTicketId() {
		return ticketId;
	}

	public void setTicketId(Integer ticketId) {
		this.ticketId = ticketId;
	}

	@Column
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Column
	public String getUserPhone() {
		return userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	@Column
	public int getUserIdType() {
		return userIdType;
	}

	public void setUserIdType(int userIdType) {
		this.userIdType = userIdType;
	}

	@Column
	public String getUserIdNumber() {
		return userIdNumber;
	}

	public void setUserIdNumber(String userIdNumber) {
		this.userIdNumber = userIdNumber;
	}

	@Column
	public int getVerifyTimes() {
		return verifyTimes;
	}

	public void setVerifyTimes(int verifyTimes) {
		this.verifyTimes = verifyTimes;
	}

	@Column
	public String getCheckCode() {
		return checkCode;
	}

	public void setCheckCode(String checkCode) {
		this.checkCode = checkCode;
	}

	@Column
	public int getPrintStatus() {
		return printStatus;
	}

	public void setPrintStatus(int printStatus) {
		this.printStatus = printStatus;
	}

	@Column
	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	@Column
	public Date getValidTime() {
		return validTime;
	}

	public void setValidTime(Date validTime) {
		this.validTime = validTime;
	}

	@Column
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Column
	public Integer getScenicSpotId() {
		return scenicSpotId;
	}

	public void setScenicSpotId(Integer scenicSpotId) {
		this.scenicSpotId = scenicSpotId;
	}

	@Column
	public Date getPrintTime() {
		return printTime;
	}

	public void setPrintTime(Date printTime) {
		this.printTime = printTime;
	}

	@Column
	public Date getLastVerifyTime() {
		return lastVerifyTime;
	}

	public void setLastVerifyTime(Date lastVerifyTime) {
		this.lastVerifyTime = lastVerifyTime;
	}

	@Column
	public Date getRefundTime() {
		return refundTime;
	}

	public void setRefundTime(Date refundTime) {
		this.refundTime = refundTime;
	}

	
	@Column
	public Integer getIsChild() {
		return isChild;
	}

	public void setIsChild(Integer isChild) {
		this.isChild = isChild;
	}
}
